//
//  FunctionglGetString.cpp
//  ChapterTwoOpenGL
//
//  Created by XuLiang on 2017/8/21.
//  Copyright © 2017年 Thomas. All rights reserved.
//

#include <GLTools.h>

#include <math.h>
#include <stdio.h>

#ifdef __APPLE__
#include <glut/glut.h>
#else
#define FREEGLUT_STATIC
#include <GL/glut.h>
#endif

int main(int argc, char* argv[])
{
    glutInit(&argc, argv);
    glutCreateWindow("GLUT");
    
    glewInit();
    printf("OpenGL version supported by this platform (%s): \n", glGetString(GL_VERSION));
    
    return 0;
}
